import { defineStore } from "pinia";
import { store } from "@/store";
/*
const useTaxSourcesIdStore = defineStore("taxSourcesId", () => {
  return {
    state: () =>{
      return {
        taxSourcesId: null
      }
    },
    actions: {
      changeTaxSourcesId(id) {
        this.taxSourcesId = id
      }
    }
  }
});
*/

const useTaxSourcesIdStore = defineStore({
  id: 'taxSourcesId',
  state: () =>{
    return {
      taxSourcesId: null
    }
  },
  actions: {
    changeTaxSourcesId(id) {
      this.taxSourcesId = id
    }
  }
})
export default function() {
  return useTaxSourcesIdStore(store)
};
